package ypmits.components.scrollbar.event {	import ypmits.components.scrollbar.input.ScrollBarInput;	import flash.display.DisplayObject;	import flash.events.Event;	/**	 * @author davelenz	 */	public class ScrollBarEvent extends Event {		public static const SCROLL_UPDATE : String = "scroll_update";		public var percent : Number = 0;		public var toscroll : DisplayObject;		public var height : Number;		public var input : ScrollBarInput;				public function  ScrollBarEvent( type : String, toscroll : DisplayObject, percent : Number, height : Number, input : ScrollBarInput ) {			super( type );						this.toscroll = toscroll;			this.percent = percent;			this.height = height;			this.input = input;		}				public override function clone() : Event {			var e : ScrollBarEvent = new  ScrollBarEvent( type, toscroll, percent, height, input );			e.percent = percent;			e.toscroll = toscroll;			e.height = height;			e.input = input;			return e;		}	}}